from polls.models import Subject

s=Subject.objects.get(no=5)
print(s.delete())